﻿using H;
using H.Nets;
using System.Windows.Forms;

namespace LogServer
{
    internal class App : IApp
    {
        public static void Main(string[] args)
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);

            Application.Run(new MainLogForm(IPlugin.GetObject<INetFactory>("H.Net").CreateTcpServerInstance(5566)));
        }
    }
}
